<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>梦芭莎</title>
		<link rel="stylesheet" type="text/css" href="__ROOT__/Index/Common/css/head_end.css" />
		<link rel="stylesheet" type="text/css" href="__ROOT__/Index/Common/css/index.css"/>
		<link rel="stylesheet" type="text/css" href="__ROOT__/Index/Common/css/side_bar.css"/>
		<script type="text/javascript" src="__ROOT__/Index/Common/js/jquery-3.2.1.min.js"></script>
		<script type="text/javascript" src="__ROOT__/Index/Common/js/index.js"></script>
		<script type="text/javascript" src="__ROOT__/Index/Common/js/head_end.js"></script>
		<style>
			.conta area{
                outline: none;
            }
		</style>
	</head>
	<body class="body_bg2">
		<div class="head">
			
	<body class="body_bg2" id="body">
		<div class="header">
			<div class="s_banner">
				<div class="sm_ban">
					<a href="">
						<img src="http://i1.mbscss.com/img/moonbasa/2017/ydw/M11_15_100139.jpg" alt="" />
					</a>
					<img class="close" onclick="close()" src="http://i2.mbscss.com/img/vip/2013/12/02/colse.gif" alt="" />
				</div>
				
			</div>
			<div class="loginInfo_wrap">
				<div class="loginInfo_out">
					<ul class="loginInfo_l clear fl">
						<li class="lw_home fl">
							<i class="i lw_home_icon"></i>
							<a class="red" href="">梦芭莎首页</a>
						</li>
						<li class="guaranteed fl">
							<i class="i lw_100_icon"></i>
							<a href="">100%正品保证 10年品质保证</a>
						</li>
					</ul>
					<ul class="loginInfo_r clear fr">
						<?php if(!isset($_SESSION['uid'])): ?><li><a href="__APP__/Login/login">登录</a></li>
							
							<li>丨</li>
							<li><a href="__APP__/Login/register">注册</a></li>
							<li><a href="javascript:void(0)">欢迎光临梦芭莎!</a></li>
							<?php else: ?>
							<li><a href="javascript:void(0)">您好,</a><a class="head_name" href="__APP__/PersonalCenter/personalCenter"><?php echo (session('email')); ?></a></li>
							
							<li><a href="__APP__/Login/logout">退出登录</a></li><?php endif; ?>
						<!--<li>
							<a class="red" href="__APP__/Login/login">登陆</a>
						</li>
						<li>丨</li>
						<li>
							<a class="red" href="__APP__/Login/register">注册</a>
						</li>
						<li>丨</li>-->
						<li><i class="i lw_weixin_icon lw_icon"></i>
							<a class="red" href="">微信</a>
						</li>
						<li>丨</li>
						<li><i class="i lw_weibo_icon lw_icon"></i>
							<a class="red" href="">微博</a>
						</li>
						<li>丨</li>
						<li><i class="i lw_mobile_icon lw_icon"></i>
							<a class="red" href="">手机版</a>
						</li>
						<li>丨</li>
						<li>
							<a class="red" href="">收藏梦芭莎</a>
						</li>
						<li>丨</li>
						<li><i class="i lw_cart_icon lw_icon"></i>
							<a class="red" href="__APP__/Order/index">购物车</a>
						</li>
						<li>丨</li>
						<li class=" open">
							<i class="i lw_sort_icon lw_icon"></i>
							<a class="red" href="">全部分类</a>
							<!--展开分类-->
							<div class="sort-wrap">
								<div class="sort_content clear">
									<div class="sort_hot fl clear">
										<div class="sort_title">热门推荐</div>
										<dl class="woman fl">
											<dt>
										<a class="woman_img" href="">
											<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/woman.png" alt="" />
										</a>
									</dt>
											<dd class="clear">
												<a href="">新品</a>
												<a href="">连衣裙</a>
												<a href="">半裙</a>
												<a href="">百搭T恤</a>
												<a href="">衬衫</a>
												<a href="">小衫</a>
												<a href="">薄外套</a>
												<a href="">西装</a>
												<a href="">马甲</a>
												<a href="">针织衣</a>
												<a href="">卫衣</a>
												<a href="">休闲裤</a>
												<a href="">短裤</a>
											</dd>
											<dd class="sort_separator">
												<br>
											</dd>
											<dd class="hot_icon">
												<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/hot.png" alt="" />
											</dd>
											<dd class="clear">
												<a href="">欧美风</a>
												<a href="">日韩风</a>
												<a href="">原创风</a>
												<a href="">美式风格</a>
												<a href="">年轻潮牌</a>
											</dd>
										</dl>
										<dl class="man fl">
											<dt>
										<a class="man_img" href="">
											<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/man.png" alt="" />
										</a>
									</dt>
											<dd class="clear">
												<a href="">新品</a>
												<a href="">连衣裙</a>
												<a href="">半裙</a>
												<a href="">百搭T恤</a>
												<a href="">衬衫</a>
												<a href="">小衫</a>
												<a href="">薄外套</a>
												<a href="">西装</a>
												<a href="">马甲</a>
												<a href="">针织衣</a>
												<a href="">卫衣</a>
												<a href="">休闲裤</a>
												<a href="">短裤</a>
											</dd>
											<dd class="sort_separator">
												<br>
											</dd>
											<dd class="hot_icon">
												<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/hot.png" alt="" />
											</dd>
											<dd class="clear">
												<a href="">欧美风</a>
												<a href="">日韩风</a>
												<a href="">原创风</a>
												<a href="">美式风格</a>
												<a href="">年轻潮牌</a>
											</dd>
										</dl>
										</dl>
										<dl class="underwaist"></dl>
										<dl></dl>
									</div>
									<div class="sort_usa fl clear">
										<div class="sort_title">美国进口</div>
										<div class="sort_usa_img clear">
											<div class="sort_usa_left">
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/usa.jpg" alt="" />
												</a>
											</div>
											<div class="sort_usa_right">
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_1.jpg" alt="" />
												</a>
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_2.jpg" alt="" />
												</a>
												<br />
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_3.jpg" alt="" />
												</a>
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_4.jpg" alt="" />
												</a>
												<br />
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_5.jpg" alt="" />
												</a>
												<a href="">
													<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_6.png" alt="" />
												</a>
											</div>
										</div>
										<div class="sort_usa_brandsName">
											<a href="">Idolmind</a>
											<a href="">Gircode</a>
											<a href="">Beautees</a>
										</div>
									</div>
									<div class="sort_feature fl clear">
										<div class="sort_title">特色专区</div>
										<a href="">
											<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/brand.png" alt="" />
										</a>
										<div class="sort_title">更多专区</div>
										<div>
											<a href="">童装</a>
											<a href="">美鞋</a>
											<a href="">美包</a>
											<a href="">配饰</a>
											<a href="">美妆</a>
										</div>
									</div>
								</div>
							</div>
						</li>
					</ul>
				</div>
			</div>
			<div class="mbs">
				<div class="mbsCont">
					<div class="mbslogo clear">
						<div class="logopic fl">
							<a href="__APP__/Index/index">
								<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logomoonbasa.png" alt="" />
							</a>
						</div>
						<div class="vertical fl">

						</div>
						<div class="boundary fl">
							<p>年轻潮流服装</p>
							<p class="black">梦芭莎自营品牌</p>
						</div>
						<div class="mbsSearch fr clear">
							<div class="searchl fl">
								<div class="search_box">
									<span>
								<input class="input1" type="text" placeholder="新季毛衣倾情呈现,舒适又时髦,新品五折起" />
							</span>
									<span>
								<input class="search_btn" type="button" value="搜全站" />
							</span>
								</div>
								<div class="hot_keywords">
									<!--<div>
										<p>
											<a href="">春季新品</a>&nbsp;|&nbsp;</p>
										<p>
											<a href="">聚拢升cup</a>&nbsp;|&nbsp;</p>
										<p>
											<a href="">薄模杯型</a>&nbsp;|&nbsp;</p>
										<p>
											<a href="">少女内裤</a>&nbsp;|&nbsp;</p>
										<p>
											<a href="">青春休闲服</a>&nbsp;|&nbsp;</p>
									</div>-->
								</div>
							</div>
							<div class="searchr fl">
								搜本店
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="headerd">
				<div class="nav clear">
					<a class="logo" href="">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/header/logo_03.jpg" alt="" />
					</a>
					<nav class="fl">
						<ul>
							<li>
								<a href="__APP__/Index/index">
									<p>HOME</p>
									<p>首页</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=">
									<p>NEW</p>
									<p>新品</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=T恤">
									<p>T-SHIRT</p>
									<p>T恤</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=卫衣">
									<p>SWEATSHIRT</p>
									<p>卫衣</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=衬衫">
									<p>SHIRT</p>
									<p>衬衫</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=外套">
									<p>COAT</p>
									<p>外套</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=毛衣">
									<p>SWEATER</p>
									<p>毛衣</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=裙子">
									<p>SKIRT</p>
									<p>裙子</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=裤子">
									<p>PANTS</p>
									<p>裤子</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=男装">
									<p>MEN</p>
									<p>男装</p>
								</a>
							</li>
							<li>
								<a href="__APP__/List/index?style=女装">
									<p>WOMEN</p>
									<p>女装</p>
								</a>
							</li>
						</ul>
					</nav>
				</div>

			</div>
		</div>

		
		<script type="text/javascript">
			//点击关闭
			$(".close").on("click",function(){
				$(".s_banner").remove();
			});
			
			
			
			$(".search_btn").click(function(){
				searchValue=$(".input1").val();
				$.ajax({
					type:"POST",
					url:"search",
					async:true,
					data:"key="+searchValue,
					success:function(res){
						location.href="__APP__/List/search";
					}
				})
			})
		</script>
	</body>

		</div>
		<div class="content">
			<!--背景图-->
			<div class="conta">
				<div class="conta_son">
					<a href="">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index1_small.jpg" alt="" />
					</a>
				</div>
			</div>
			<div class="conta" style="background: url(http://qxu1142120069.my3w.com/MoonBaSaImg/index/index2_big.jpg) #fff no-repeat top center;">
				<div class="conta_son">
					<img usemap="#Mapnew9" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index2_small.jpg" alt="" />
					<map name="Mapnew9">
						<area shape="rect" style="" coords="416,1707,637,2199" href="__APP__/detail/index?id=34" alt="" />
						<area shape="rect" coords="9,308,471,1218" href="__APP__/detail/index?id=32" alt="" />		
						<area shape="rect" coords="566,485,957,820" href="__APP__/detail/index?id=36" alt="" />	<!--棒球外套-->
						<area shape="rect" coords="579,828,969,1048" href="__APP__/detail/index?id=35" alt="" />  <!--短裤-->
						<area shape="rect" coords="4,1405,415,2070" href="__APP__/detail/index?id=198" alt="" />
						<area shape="rect" coords="651,1140,1101,1826" href="__APP__/detail/index?id=33" alt="" />
						<area shape="rect" coords="415,1471,633,1706" href="__APP__/detail/index?id=199" alt="" />
					</map>
				</div>
			</div>
			<div class="conta" style="background: #ffffff no-repeat center top;">
				<div class="conta_son">
						<img usemap="#M5_5_165444" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index3.jpg" alt="" />
						<map name="M5_5_165444">
							<area shape="rect" coords="173,257,648,926" href="__APP__/detail/index?id=200" alt="" />
							<area shape="rect" coords="669,560,996,994" href="__APP__/detail/index?id=202" alt="" />
							<area shape="rect" coords="20,780,168,1018" href="__APP__/detail/index?id=201" alt="" />
							<area shape="rect" coords="935,285,1193,648" href="__APP__/detail/index?id=203" alt="" />
						</map>
						
						
						<img usemap="#M3_28_121711" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index4.jpg" alt="" />
						<map name="M3_28_121711">
							<area shape="rect" coords="22,204,311,733" href="__APP__/detail/index?id=158" alt="" />
							<area shape="rect" coords="353,23,651,616" href="__APP__/detail/index?id=204" alt="" />
							<area shape="rect" coords="671,142,1016,673" href="__APP__/detail/index?id=205" alt="" />
						</map>
						
						
						<img usemap="#M3_28_121856" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index5.jpg" alt="" />
						<map name="M3_28_121856">
							<area shape="rect" coords="30,30,310,528" href="__APP__/detail/index?id=206" alt="" />
							<area shape="rect" coords="320,36,597,531" href="__APP__/detail/index?id=135" alt="" />
							<area shape="rect" coords="604,36,886,521" href="__APP__/detail/index?id=126" alt="" />
							<area shape="rect" coords="898,37,1179,527" href="__APP__/detail/index?id=207" alt="" />
						</map>
				</div>
			</div>
			<div class="conta" style="background: #ffffff no-repeat center top;">
				<div class="conta_son">
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index6.jpg" alt="" />
				</div>
			</div>
			<div class="conta" style="background: url(http://qxu1142120069.my3w.com/MoonBaSaImg/index/index7_big.jpg) #ffffff no-repeat center top">
				<div class="conta_son">
					<!--每张图对应一个map-->
					<img usemap="#M3_28_121943" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index7_small.jpg" alt="" />
					<map name="M3_28_121943">
						<area shape="rect" coords="3,139,340,652" href="__APP__/detail/index?id=208" alt="" />
						<area shape="rect" coords="399,126,708,645" href="__APP__/detail/index?id=120" alt="" />
						<area shape="rect" coords="727,101,958,386" href="__APP__/detail/index?id=210" alt="" />
						<area shape="rect" coords="766,397,978,665" href="__APP__/detail/index?id=209" alt="" />
						<area shape="rect" coords="1017,291,1194,696" href="__APP__/detail/index?id=211" alt="" />
					</map>
					
					<img usemap="#M3_28_122132" src="http://qxu1142120069.my3w.com/MoonBaSaImg/index/index8.jpg" alt="" />
					<map name="M3_28_122132">
						<area shape="rect" coords="21,44,303,546" href="__APP__/detail/index?id=212" alt="" />
						<area shape="rect" coords="315,39,596,532" href="__APP__/detail/index?id=213" alt="" />
						<area shape="rect" coords="607,38,879,538" href="__APP__/detail/index?id=214" alt="" />
						<area shape="rect" coords="888,39,1182,532" href="__APP__/detail/index?id=124" alt="" />
					</map>
					
					
				</div>
			</div>
		</div>
		<div class="foot">
			<div class="footer">
			<div class="info">
				<div class="infos clear">
					<ul>
						<li class="title">
							<a href="">新手指南</a>
						</li>
						<li>
							<a href="">注册新用户</a>
						</li>
						<li>
							<a href="">如何订购</a>
						</li>
						<li>
							<a href="">如何修改订单</a>
						</li>
						<li>
							<a href="">尺码对照表</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">支付方式</a>
						</li>
						<li>
							<a href="">支付方式</a>
						</li>
						<li>
							<a href="">账户体现及退款时效</a>
						</li>
						<li>
							<a href="">查看账户余额</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">配送方式</a>
						</li>
						<li>
							<a href="">配送费收取标准</a>
						</li>
						<li>
							<a href="">配送范围及配送时效</a>
						</li>
						<li>
							<a href="">签收注意事项</a>
						</li>
						<li>
							<a href="">海外订购</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">退换货服务</a>
						</li>
						<li>
							<a href="">退换货政策</a>
						</li>
						<li>
							<a href="">退换货流程</a>
						</li>
						<li>
							<a href="">隐私申明</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">会员制度及优惠</a>
						</li>
						<li>
							<a href="">优惠活动</a>
						</li>
						<li>
							<a href="">VIP优惠尊享</a>
						</li>
						<li>
							<a href="">大宗购物</a>
						</li>
						<li>
							<a href="">积分制度</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">帮助中心</a>
						</li>
						<li>
							<a href="">忘记密码</a>
						</li>
						<li>
							<a href="">常见问题</a>
						</li>
						<li>
							<a href="">在线客服</a>
						</li>
						<li>
							<a href="">联系我们</a>
						</li>
					</ul>
					<ul>
						<li class="title">
							<a href="">咨询订购</a>
						</li>
						<font>400-716-2828</font>
						<li class="title">
							<a href="">客户服务</a>
						</li>
						<font>400-716-7878</font>
					</ul>
					<ul>
						<li>
							<!--微信二维码-->
							<img src="http://i0.mbscss.com/img/moonbasa/2015/mobile/M4_14_150441.png" alt="" />
						</li>
					</ul>
				</div>
			</div>
			<div class="f_info">
				<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/top_1.jpg" alt="" />
				<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/top_2.jpg" alt="" />
				<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/top_3.jpg" alt="" />
				<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/top_4.jpg" alt="" />
			</div>
			<div class="foot_introduce">
				<div class="introduce">
					<a href="">首页</a>
					<a href="">公司简介</a>
					<a href="">旗下品牌</a>
					<a href="">零售店址</a>
					<a href="">梦芭莎网盟</a>
					<a href="">网店代理</a>
					<a href="">网站地图</a>
					<a href="">友情链接</a>
					<br /> Copyright © 2010-2019 梦芭莎官方网站，广州摩拉网络科技有限公司 All Rights Reserved 粤B2-20080069号
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/middle.png" alt="" /> 粤公网安备44010302000075
				</div>
				<div class="hzlogo">
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_1.jpg" alt="" />
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_2.jpg" alt="" />
					<span>
					<a href="http://netadreg.gzaic.gov.cn/ntmm/WebSear/WebLogoPub.aspx?logo=440105105022007080200053">
						<img style="width: 33px; height: 33px;" src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_3.jpg" alt="" />
					</a>
					<a href="http://weiquan.moonbasa.com/">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_4.jpg" alt="" />
					</a>
				</span>
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_5.jpg" alt="" />
					<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_6.jpg" alt="" />
					<span class="youxin">
					<a href="http://www.ccredit.cn/zx/zxt.aspx?id=65">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_7.jpg" alt="" />
					</a>
					<a href="https://search.szfw.org/cert/l/CX20120920001676001786?id=5">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/footer/bottom_8.jpg" alt="" />
					</a>
				</span>

				</div>
			</div>
		</div>
		</div>
		<div class="side">
			<div class="sidebar">
	<div class="side_list">
		<div onmousemove="show($('.p_login'))" onmouseleave="hide($('.p_login'))" class="person_center">
			<div class="p_login">
				<div class="p_login_con">
					
					<?php if(!isset($_SESSION['uid'])): ?><img src="http://qxu1142120069.my3w.com/MoonBaSaImg/sidebar/userHead.jpg" alt="" />
						<p>请先登录哦!</p>
						<div class="con_login">
							<a class="mylogin" href="__APP__/Login/login">登录</a>
							<a class="mylogon" href="__APP__/Login/register">注册</a>
						</div>
						<?php else: ?>
						<div class="myinfo_header"><img width="60" height="60" src="http://qzapp.qlogo.cn/qzapp/100269270/01A8AFFDBFB100DA716C2247186CBDA81/100" alt="" /></div>
						<div class="myinfo_mes">
							<dl><dt>用户名:</dt><dd><?php echo (session('email')); ?></dd></dl>
							<dl><dt>会员类型:</dt><dd class="level">普通用户</dd></dl>
						</div><?php endif; ?>
				</div>
				<div class="p_login_foot">
					<ul>
						<li>
							<a href="">我的订单</a>
						</li>
						<li class="center"></li>
						<li class="f_last">
							<a href="">我的收藏</a>
						</li>
					</ul>
				</div>
				<div onclick="hide($('.p_login'))" class="p_login_close">x</div>
			</div>
			<div class="p_icon"></div>
		</div>
		<div onmousemove="show($('.c_case'))" onmouseleave="hide($('.c_case'))" class="shop_car">
			<div class="c_icon"></div>
			<div class="c_font">购物车</div>
			<div class="c_ring">
				<p class="num">0</p>
			</div>
		</div>
		<div class="collect">
			<div class="co_tab">
				<div class="co_tab_font">我的收藏</div>
			</div>
			<div class="co_icon"></div>
		</div>
		<div class="wechat">
			<div class="w_icon"></div>
		</div>
		<div class="service">
			<div class="s_tab">
				<div class="s_tab_font">联系客服</div>
			</div>
			<div class="s_icon"></div>
		</div>
	</div>
	<div onclick="back_top()" class="scroll_top">
		<div class="t_tab">
				<div class="t_tab_font">返回顶部</div>
		</div>
		<div class="top_icon"></div>
	</div>
	<div onmousemove="show($('.c_case'))" onmouseleave="hide($('.c_case'))" class="c_case">
		<div class="c_close">
			<div onclick="hide($('.c_case'))" class="c_close_close">x</div>
			<div class="c_title">购物车</div>
		</div>
		
		<?php if(!isset($_SESSION['uid'])): ?><!--购物车没东西-->
			<div class="cart_nothings">
				<p>您的购物车还没有商品<br />再去逛逛吧!</p>
			</div>
		
			<?php else: ?>
			<!--购物车有东西-->
			<div class="cart_hasthings">
				<ul class="order_list">
					<li class="classify">
						<div class="classify_title">
							<span>梦芭莎</span>
						</div>
						<div class="classify_con">
<<<<<<< HEAD
							<!--购物车没东西-->
			<div class="cart_nothings">
				<p>您的购物车还没有商品<br />再去逛逛吧!</p>
			</div>
							
=======
							
							<div class="classify_item">
								<div class="item_pic">
									<a href=""><img width="34" src="http://images.moonbasa.com/ProductImg/1/1703/middle/031217306-009-01-M.jpg" alt="" /></a>
								</div>
								<div class="item_des">
									<p><a href="">时尚休闲肩部气眼穿孔绑带宽松套头长袖休闲卫衣</a></p>
									<p>S&nbsp;黑色</p>
									<p class="del_hover">
										<span class="itemDes-del">删除</span>
										<span class="font_color">￥125</span><span>*3</span>
									</p>
								</div>
								
							</div>
>>>>>>> 8805301fe8a0c2fcb17dab0c7743d9981155a190
						</div>
					</li>
				</ul>
			</div>
			<div class="accounts">
				<div class="total">
<<<<<<< HEAD
					<div class="goods-num rightsidebar-fl">共<span class="zongShu">0</span>件商品</div>
					<div class="det-cost rightsidebar-fr">
						<span>￥</span>
						<span class="zongjiaqian">0</span>
=======
					<div class="goods-num rightsidebar-fl">共<span class="zongShu">5</span>件商品</div>
					<div class="det-cost rightsidebar-fr">
						<span>￥</span>
						<span class="zongjiaqian">603</span>
>>>>>>> 8805301fe8a0c2fcb17dab0c7743d9981155a190
					</div>
				</div>
				<a href="__APP__/Order/index" class="clo_btn">去购物车结算</a>
			</div><?php endif; ?>
		

		
	</div>
</div>
<script type="text/javascript">
	function show(el){
		el.addClass("block");
	}
	function hide(el){
		el.removeClass("block");
	}
	function back_top(){
		$("html,body").animate({scrollTop:0}, 100);
	}

	
</script>
			

		</div>
	</body>
	<script type="text/javascript">
	
		$.ajax({
			url:"__APP__/Order/sidecar",
			type:"post",
			dataType:"json",
			success:function(data){
				console.log(data);
				$('.sidebar .num').html(data.length);
				var html="";
				var goods_num=0;
				var price=0;
				for(var i=0;i<data.length;i++){
					var gid=data[i].goodsId;
					var siz = data[i].color;
					var col = data[i].color;
					html+='<div class="classify_item">'+
						'<div class="item_pic">'+
							'<a href="__APP__/detail/index?id='+data[i].goodsId+'"><img width="34" src='+data[i].img+' alt="" /></a>'+
						'</div>'+
						'<div class="item_des">'+
							'<p><a href="__APP__/detail/index?id='+data[i].goodsId+'">'+data[i].name+'</a></p>'+
							'<p><span class="i_size">'+data[i].size+'</span><b class="i_color">'+data[i].color+'</b></p>'+
							'<p class="del_hover">'+
								'<span onclick="del_Car('+data[i].goodsId+',$(this))" class="itemDes-del">删除</span>'+
								'<span class="font_color">￥'+data[i].n_price+'</span><span>*'+data[i].goodsNum+'</span>'+
							'</p>'+
						'</div>'+
					'</div>';
					goods_num+=~~data[i].goodsNum;
					var danjia = ~~data[i].n_price;
					var shuliang = ~~data[i].goodsNum;
					console.log(danjia,shuliang);
					var xiaoji = danjia*shuliang;
					price+=xiaoji;
					console.log(price);
				}
				$('.classify_con').html(html);
				$('.zongShu').html(goods_num);
				$('.zongjiaqian').html(price);
			}
		})
		function del_Car(gId,_this){
			var  goodsId = gId;
			console.log(goodsId);
			var size = _this.parent().parent().find('.i_size').html();
			var color = _this.parent().parent().find('.i_color').html();
			console.log(color);
			$.ajax({
				url:"__APP__/Order/delete",
				type:"post",
				dataType:"json",
				data:{
					goodsId,
					size,
					color
				},
				success:function(data){
					console.log(data);
					if(data.status==1){
						window.location.href="__APP__/Index/index";
					}
				}
			})
		}
	</script>
	
	
</html>